<div ng-controller="UimodsCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'UI模块'| translate}}</li>
        <li>{{'List'|translate}}
            <a href="#/uimods/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          <uimods-ctype ng-model="ctype"></uimods-ctype>
          <uimods-type ng-model="types"></uimods-type>
          <ui-mods-list ng-model="xmod" ofpage="{{types}}"></ui-mods-list>
          <input type="text"  placeholder="{{'uimods_id'|translate}}"  ng-model="uimods_id">
          <button class="sui-btn btn-primary" type="submit" ng-click="getList(1)">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'ID'|translate}}</th>
                <th>{{'模块名称'|translate}}</th>
                <th>{{'模块ID'|translate}}</th>
                <th>{{'模块类型'|translate}}</th>
                <th>{{'小程序类型'|translate}}</th>
                <th>{{'页面'|translate}}</th>
                <th>{{'创建时间'|translate}}</th>
                <th>{{'修改时间'|translate}}</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in uimods">
                <td>{{list.uimods_id}}</td>
                <td>{{list.title}}</td>
                <td>{{list.name}}</td>
                <td><ui-mods-list ng-model="list.subtype" stype="1"></ui-mods-list></td>
                <td>
                    <uimods-ctype ng-model="list.ctype" stype="1"></uimods-ctype>
                </td>
                <td>
                     <uimods-type ng-model="list.types" stype="1"></uimods-type>
                </td>
                <td>
                    {{list.created_at | ddtt}}
                </td>
                <td>
                    {{list.updated_at | ddtt}}
                </td>
                <td>
                    <a href="#/uimods/add?uimods_id={{list.uimods_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <!-- <pager page-no="1" page-size="page_Size" total="xtotal" get-data="getList(pageNo)"></pager> -->
    <pager page-no="{{pageNo}}" page-size="page_Size" total="xtotal" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>
